Segment Routing Configuration Guide, Cisco IOS XE 17 | Access and Edge Routers - SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated) [Cisco IOS XE 17] - Cisco

Skip to content

Skip to search

Skip to footer

Products and Services

Back

Products and Services

Close

Products and Services Home

Save on Cisco products

Future-proof your network with our full-stack offer. Buy more and save up to 25% on eligible Cisco switching, routing, wireless, and software products.

Get started today

Cisco Security free trials

Get started with the right security solution for you. Try out our security solutions before you buy them.

Start a free trial

Discover Cisco IQ

See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement.

Read the blog

Networking

Security

Collaboration

Computing

Observability

Software

Services (CX)

Back

Networking

Close

Products

Switches

Routers

Wireless

Optics and transceivers

Silicon

Networking software

Explore Networking

Use cases

Access networking

Campus and branch networking

Data center and cloud networking

Industrial IoT

Internet, cloud, and endpoint visibility

Network security

Service provider networking

Wide-area networking (WAN)

Unified network management

Manage your entire network from a single, intuitive cloud interface with the Meraki and Catalyst Center Global Overview.

Explore Networking Platform

Back

Security

Close

Featured products

AI Defense

Cisco Duo

Email Threat Defense

Firewall

Hypershield

Identity Services Engine (ISE)

Secure Access (SSE)

Splunk Enterprise Security

XDR

Explore Security

Use cases

Agentic SOC

AI Security

Hybrid Mesh Firewall

Industrial security

Physical security

Secure Access Service Edge (SASE)

Threat intelligence (Talos)

Zero Trust Access

Zero trust for agentic AI

Cisco Secure Access live demo

Join us live to experience Cisco Secure Access—the smarter way to secure access to the internet, SaaS, and private apps.

Choose an upcoming slot

Back

Collaboration

Close

Products

Phones, headsets, and collaboration devices

Webex Customer Experience

Webex Suite

Explore Collaboration

Use cases

Workspaces

Return to the office

Camera intelligence

Workspace management

Devices for Microsoft Teams

Webex AI

Control Hub

Webex Suite

Everything your business needs to collaborate—in the world's first unified, purpose-built suite for hybrid work.

Explore Webex Suite View the Webex site

Back

Computing

Close

Converged infrastructure

Fabric and adapters

Hybrid cloud operations

Hyperconverged infrastructure

Servers

Unified Edge

View all computing products

Cisco Intersight free trial

Get simplified IT operations with infrastructure lifecycle management as a service to easily manage your Cisco UCS, converged, and hyperconverged infrastructure.

Get started Learn more about Intersight

Back

Observability

Close

Products

Cloud application security

Splunk Observability Cloud

Splunk IT Service Intelligence

ThousandEyes

Explore Observability

Use cases

Alert noise reduction

Cloud monitoring optimization

End-user experiences

Microservices troubleshooting

Splunk Observability

Get complete business visibility and real-time troubleshooting across any environment.

Explore Splunk Observability

Back

Software

Close

Networking

Catalyst Center

Catalyst SD-WAN Manager

IoT Operations Dashboard

Meraki Platform

Mobility Services Platform

Nexus Dashboard

All networking software

Security

Cyber Vision

Secure Equipment Access

Security Cloud

Observability

Splunk Observability

ThousandEyes

Collaboration

Webex by Cisco

Computing

Intersight

Explore Cisco buying programs

Download software and manage licenses

View all software

Free trials and demos

View and sign up for over 100 products and portfolio solutions for free.

Explore trials and demos

Back

Services (CX)

Close

Cisco Support

Cisco Professional Services

Learn with Cisco

View all Cisco services

Discover Cisco IQ

See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement.

Read the blog

Get expert guidance

Cisco Services can help you build the right solution for your needs with the combined power of AI, automation, and human expertise.

Transform your data center Build a better workplace

Close

Solutions

Back

Solutions

Close

Solutions Home

Artificial intelligence

Cisco has the infrastructure to power AI, unmatched breadth and scale of data to feed it, and a portfolio optimized to secure it.

Explore Cisco AI

Campus and branch

Cisco brings together Al, automation, and security into one unified architecture—built to simplify operations, scale intelligently, and protect every connection.

Explore campus and branch

Small and medium business

Protect, connect, and empower your business with Cisco's portfolio tailored to small and medium businesses. Experience simplified IT management, efficiency, cloud-driven flexibility, and 24/7 support.

Explore SMB solutions

Artificial Intelligence

Industries

Technologies

Campus and Branch

Service Providers

Small and Medium Business

Back

Artificial Intelligence

Close

AI-enhanced security

AI-native networking operations

AI-ready data centers

AI at the edge

AI networking in data centers

Mass-scale AI infrastructure

Secure AI Factory

Splunk AI

Webex AI

Cisco AI hub

Cisco AI Assistant

Cisco AI Assistant combines the latest generative AI technology with our expertise to responsibly guide and inform the decisions you make every day.

Explore Cisco AI Assistant

Cisco AI Readiness Assessment

AI readiness comprises six pillars: Strategy, Infrastructure, Data, Governance, Talent, and Culture. Is your organization AI ready?

Take assessment Browse AI Readiness Index

Back

Industries

Close

Cities and Communities

Education

Financial Services

Government

Healthcare

Manufacturing

Mining

Oil and Gas

Retail

Smart Buildings

Sports, Media, and Entertainment

Transportation

Utilities

View all industries

Industry design guides

Discover the portfolio explorer

Build the bridge between business outcomes and technology with our new interactive tool.

Start exploring

Back

Technologies

Close

Networking

Cloud and data center networking

Cloud-managed networking (Meraki)

Industrial IoT

Networking App Marketplace

SD-WAN

Smart buildings

All networking solutions

Computing

Converged infrastructure

Hybrid cloud

Hyperconverged

Virtual desktop infrastructure

Security

AI for security

Data center security

Hybrid Mesh Firewall

Industrial security

Network security

Secure Access Service Edge (SASE)

Secure Hybrid Work

Zero trust

Zero trust for agentic AI

Collaboration (Webex)

Camera intelligence

Customer experience

Event management

Intelligent workspaces

Interoperability

IT administration

Remote work

Workspace designer

Workspace management

Back

Campus and Branch

Close

Secure network architecture

Secure campus

Unified branch

Industrial IoT

Campus and branch design guides

Back

Service Providers

Close

Empowering your infrastructure

5G network architecture

Agile Services Networking

Broadband solutions

Cable solutions

Routed optical networking

Routed PON

View all service provider solutions

Managed services

Edge Cloud for Content Delivery

IoT Control Center

Mobility Services Platform

Private 5G

Secure access service edge (SASE)

Software-defined access

Secure Hybrid Work

SD-WAN security

Accelerate services offerings

Provide outsourced IT and consulting services with a broad technology portfolio and robust partner support programs.

See services options

Back

Small and Medium Business

Close

Products and solutions

Networking

Security

Collaboration

Product selector

View all small and medium business solutions

Buy small and medium business products online

Offers and free trials

Find the best solutions for your needs and try them before you buy.

See all offers and free trials

Close

Support

Back

Support

Close

Support Home

Support home

Access documentation, security notices, and support tools for Cisco products.

View Cisco Support

Software downloads

Download and manage new software, get updates or patches, or upgrade your current software to the latest release.

View Software Central

Licensing support

Troubleshoot common licensing issues and leverage easy-to-follow documentation for both PAK-based or Smart Licenses.

Get licensing support

Products and Downloads

Documentation

Contact Support

Licenses and Contracts

Tools and Resources

Cisco Community

Back

Products and Downloads

Close

Find products and downloads

Search field edit, type in text

Clear

Product Support

Switches

Security

Routers

Wireless

Unified Communications

Collaboration endpoints and phones

Networking software (IOS and NX-OS)

Servers - Unified Computing (UCS)

All products

Downloads

Secure Client 5

Identity Services Engine Software

Secure Firewall Management Center Virtual

Smart Software Manager

Jabber for Windows

Modeling Labs

Catalyst 9300 Series Switches

All downloads

Back

Documentation

Close

Technical documentation

Configure, operate, and troubleshoot your Cisco products with configuration guides, installation guides, release notes, and more.

Trust Portal

Get self-service access to security, data privacy, and compliance documents.

Product documentation

Explore Cisco products and features to empower your purchase with data sheets, white papers, end-of-life notices, and more.

Back

Contact Support

Close

Product technical support (TAC)

Open a new case

(Requires a product or software support contract)

Manage support cases

Returns Portal (RMAs)

Enterprise and Service Provider products

1-800-553-2447 US and Canada

Worldwide phone numbers

Small and medium business products

1-866-606-1866 US and Canada

Worldwide phone numbers

Back

Licenses and Contracts

Close

Software licenses

Explore key licensing resources

Download and manage licenses

Manage assets and entitlements

Troubleshoot license issues

Cisco Enterprise Agreement (EA)

Manage Cisco EA licenses

Learn about Cisco EA

Product support contracts

Manage and renew service contracts (CCW-R)

Cisco Licensing Hub

Enhance your Cisco licensing experience.

Access now

Back

Tools and Resources

Close

Tools

Bug Search Tool

My Devices

My Saved Content

Software Research

Device Coverage Checker

All Support tools

Notifications and advisories

My Notifications

Security Advisories

Field Notices

Cisco Cloud Status

Services

All Cisco Services

Technology adoption

Cisco Customer Success

Back

Cisco Community

Close

Community forums

Technology and Support

Small Business Support

Developers

Partners

Project Gallery

Cisco Insider User Group

Explore Cisco Community

Community events and webinars

Learn from Cisco experts and engage with peers in webinars and live events.

View all events and webinars

Close

Learn

Back

Learn

Close

Learn Home

Cisco U.

Access training tailored to your needs. Work toward a specific role or certification, deploy or support a technology solution, or enhance your career progress.

Learn more about Cisco U.

Cisco Networking Academy

If you're a student, start at Cisco Networking Academy. With free courses and career guidance, your next IT job is closer than you think.

Join now

Events

Join us to take advantage of the latest networking opportunities with Cisco customers, partners, employees, and subject-matter experts.

Explore now

Training and Certifications

Events

Webinars

Technology Learning Topics

Learning Resources and Assets

Back

Training and Certifications

Close

Learning

Cisco Networking Academy

Cisco U.

Instructor-led training

Cisco Modeling Labs

Cisco Packet Tracer

Join our community

Learn with Cisco blog

Learn with Cisco overview

Certifications

Career certifications

Learn about exams

Continuing Education (CE credits)

Recertification

Schedule an exam

Track my certifications

Training for organizations

Enterprise

Cisco Learning Credits

Training catalog

Partners

Support

Learn with Cisco support bot

Back

Events

Close

Cisco Live

Partner events calendar

View all events

Cisco Live 2026 Melbourne

Experience the education, inspiration, and fun of Cisco Live 2026 Melbourne.

Register now

Watch Cisco Live sessions on demand

View sessions from Las Vegas in our On-Demand Library. Keynotes, Deep Dives, and Center Stage sessions are available now, with the remaining sessions added by June 19.

Watch now

Back

Webinars

Close

Trending webinars

AI readiness for data centers

Simplify IT with SD-WAN

Security transformation with Cisco XDR

View all webinars

McLaren Racing + Cisco

Carrie Palin joins McLaren Racing F1 team CEO Zak Brown and driver Oscar Piastri as they unveil the high-tech secrets behind their team's successful 2024 season.

Watch on demand

Cisco webinars

Discover insights that shape the future of technology. Our webinars feature experts and leaders sharing how organizations transform to connect, grow, and succeed.

Explore webinars

Back

Technology Learning Topics

Close

How to set up a router

What is cybersecurity?

What is a firewall?

What is Industry 4.0?

What is IoT (Internet of Things)?

What is Wi-Fi 7?

What is AIOps?

What is cloud security?

What is hybrid cloud?

What is SASE?

What is software as a service (SaaS)?

View all technology learning topics

2024 State of Industrial Networking

Cisco's survey of more than 1000 professionals reveals how cybersecurity, IT/OT collaboration, and AI are transforming industrial networks.

Get report

Back

Learning Resources and Assets

Close

Sandboxes and simulators

Cisco Packet Tracer

DevNet Sandbox

Cisco Modeling Labs

Cisco Learning Labs

News and insights

Blogs

Cisco Community

Executive perspectives

Newsroom

Developer resources

Getting started with DevNet

DevNet Tracks

Python training

Code exchange

Developer community

Videos and live streams

Cisco Video Portal

Architecture and design resources

Cisco Validated

Visio stencils

Additional resources

Cisco Learning Credits

Cisco Multicloud training

Black Belt Academy (for partners)

Close

Why Cisco

Back

Why Cisco

Close

Why Cisco

Why Cisco

Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era.

See the Cisco advantage

Our Purpose

We Power an Inclusive Future for All.

Explore our Purpose Read FY25 Purpose Report

Success stories

Discover how Cisco technologies drive real-world success for our customers and power Cisco's own operations and innovation.

Explore customer stories How we use our technology

Outcomes We Deliver

Working with Partners

About Us

Back

Outcomes We Deliver

Close

AI-ready data centers

Unleash the power of AI with data centers designed for speed, scale, and agility.

Future-proofed workplaces

Elevate employee and customer experiences with agile, resilient workplaces.

Digital resilience

Achieve always-on resilience with trusted security, observability, and assurance.

Why Cisco

Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era.

See the Cisco advantage

Back

Working with Partners

Close

Why choose Cisco partners

Learn how our partner ecosystem makes it easier than ever to identify the partners to best meet your needs.

Frequently asked questions (PDF)

Access answers to your questions about the evolution of Cisco's partner ecosystem and new partner designations.

Find a partner

Explore our partner ecosystem today.

A new way to find partners

The Cisco Partner Locator tool has been transformed into an AI-driven hub to match, recommend, and activate partners for every customer outcome.

Explore what's new

Back

About Us

Close

Overview

Newsroom

Leadership

Purpose and sustainability

Career opportunities

The Trust Center

Investor relations

Contact us

How to buy

Browse options to purchase Cisco products, services, and software offerings.

Visit how-to-buy hub

Close

Partners

Close

Trials and demos

How to buy

Partners

EN US

Log in

Trials and demos

MENU

CLOSE

How to buy

Partners

Log in

EN US

Search field edit, type in text

Clear Speech-to-Text Search

Speech-to-Text Powered By Google Speech API

We didn't hear that. Try again.

Speech-to-Text Search is currently unavailable

Downloads

Certifications

Cisco Validated

Training

Community

Support

Close

For Partners

Partners Home

Partner Program

Support

Tools

Already a Partner?

Log in

Find a Cisco Partner

Learn about Partners

Become a Cisco Partner

Close

Log in

Don't have an account? Sign up

Close

Back

Country | Language

Close

Selected country/region:

United States

English

All Countries / Regions

North America

Africa

Asia Pacific

Europe

Greater China

Latin America

Middle East

United States
English

English

Africa
English
Français
Português
عربي

English

Français

Português

عربي

Argentina
Español

Español

Australia & New Zealand
English

English

Austria
Deutsch

Deutsch

Belgium & Luxembourg
English
Français
Nederlands

English

Français

Nederlands

Brazil
Português

Português

Canada
English
Français

English

Français

Caribbean
Español

Español

Chile
Español

Español

Colombia
Español

Español

Costa Rica
Español

Español

Czech Republic
Čeština

Čeština

Denmark
Dansk

Dansk

Ecuador
Español

Español

Egypt
English
عربي

English

عربي

France
Français

Français

Germany
Deutsch

Deutsch

Hong Kong
English
繁體中文

English

繁體中文

Hungary
Magyar

Magyar

India
English

English

Indonesia
English

English

Israel
English

English

Italy
Italiano

Italiano

Japan
日本語

日本語

Korea
한국어

한국어

Mainland China
简体中文

简体中文

Malaysia
English

English

Mexico
Español

Español

Middle East
English
عربي

English

عربي

Netherlands
Nederlands

Nederlands

Norway
Norsk

Norsk

Panama
Español

Español

Peru
Español

Español

Philippines
English

English

Poland
Polski

Polski

Portugal
Português

Português

Romania
Română

Română

Singapore
English

English

South Africa
English

English

Spain
Español

Español

Sweden
Svenska

Svenska

Switzerland
Français
Deutsch

Français

Deutsch

Taiwan
繁體中文

繁體中文

Thailand
ภาษาไทย

ภาษาไทย

Turkey
Türkçe

Türkçe

Ukraine
Українська
Русский

Українська

Русский

United Kingdom & Ireland
English

English

Vietnam
Việt

Việt

Canada
English
Français

English

Français

United States
English

English

Africa
English
Français
Português
عربي

English

Français

Português

عربي

Egypt
English
عربي

English

عربي

South Africa
English

English

Australia & New Zealand
English

English

India
English

English

Indonesia
English

English

Japan
日本語

日本語

Korea
한국어

한국어

Malaysia
English

English

Philippines
English

English

Singapore
English

English

Thailand
ภาษาไทย

ภาษาไทย

Vietnam
Việt

Việt

Austria
Deutsch

Deutsch

Belgium & Luxembourg
English
Français
Nederlands

English

Français

Nederlands

Czech Republic
Čeština

Čeština

Denmark
Dansk

Dansk

France
Français

Français

Germany
Deutsch

Deutsch

Hungary
Magyar

Magyar

Israel
English

English

Italy
Italiano

Italiano

Netherlands
Nederlands

Nederlands

Norway
Norsk

Norsk

Poland
Polski

Polski

Portugal
Português

Português

Romania
Română

Română

Spain
Español

Español

Sweden
Svenska

Svenska

Switzerland
Français
Deutsch

Français

Deutsch

Turkey
Türkçe

Türkçe

Ukraine
Українська
Русский

Українська

Русский

United Kingdom & Ireland
English

English

Hong Kong
English
繁體中文

English

繁體中文

Mainland China
简体中文

简体中文

Taiwan
繁體中文

繁體中文

Argentina
Español

Español

Brazil
Português

Português

Caribbean
Español

Español

Chile
Español

Español

Colombia
Español

Español

Costa Rica
Español

Español

Ecuador
Español

Español

Mexico
Español

Español

Panama
Español

Español

Peru
Español

Español

Middle East
English
عربي

English

عربي

Close

Close

Cisco.com Worldwide

Products and Services

Solutions

Support

Learn

Explore Cisco

How to Buy

Partners Home

Partner Program

Support

Tools

Find a Cisco Partner

Meet our Partners

Become a Cisco Partner

... Show All Breadcrumbs

Home

Support

Product Support

Cisco IOS and NX-OS Software

Cisco IOS XE 17

Configuration Guides

Segment Routing Configuration Guide, Cisco IOS XE 17 | Access and Edge Routers

Bias-Free Language

Bias-Free Language

The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.

Book Contents

Book Contents

Book Title Page

Read Me First

Introduction to Segment Routing for the MPLS Dataplane

Segment Routing with IS-IS v4 Node SID

IS-IS Link-protection Topology Independent Loop Free Alternate Fast Reroute

Segment Routing Traffic Engineering With IS-IS

Segment Routing With OSPFv2 Node SID

OSPFv2 Link-protection Topology Independent Loop Free Alternate Fast Reroute

Segment Routing Traffic Engineering With OSPF

BGP Dynamic Segment Routing Traffic Engineering

Segment Routing On Demand Next Hop for L3/L3VPN

Segment Routing On Demand for L2VPN/VPWS

Fast Convergence Default Optimize

Routing Information Base Support

SR-TE On Demand LSP

Segment Routing MPLS OAM Support

Using Seamless BFD with Segment Routing

Using SSPF with Segment Routing

Dynamic PCC

SR: PCE Initiated LSPs

ISIS - SR: uLoop Avoidance

BGP - SR: BGP Prefix SID Redistribution

Advertise Maximum SID Depth by IS-IS and OSPF to BGP-LS

RSVP-TE Protection using Segment Routing Traffic Engineering AutoTunnel

ISIS Manual Adjacency SID

OSPF Manual Adjacency SID

OSPFv2 Segment Routing Strict SPF

Segment Routing OSPFv2 Microloop Avoidance

Performance Measurement for Traffic Engineering

Configure Performance Measurement

IP Endpoint Delay Measurement and Liveness Monitoring

SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Advertisement of Loopback Prefix SIDs of a Border Router in Multiple ISIS Domains

Traffic Steering by Dropping Invalid Paths

Configuring the Cisco ISIS Local Unequal Cost Multipath (UCMP)

Enabling Segment Routing Flexible Algorithm

L2VPN over SR-TE Preferred Path

COE-PCE Initiated SR Policy with IGP Autoroute Announce

DC-PE Router in Cisco ACI to SR-MPLS Hand-off

Segment Routing over IPv6

ISIS - SRv6: uLoop Avoidance

IPv6 Loop-Free Alternate Fast Reroute

IS-IS SRv6 Link-protection Topology Independent Loop Free Alternate Fast Reroute

SRv6 Flex-Algo with TI-LFA and uLoop Avoidance

SRv6 Path MTU Discovery on IOS XE devices

MVPN ingress replication over SRv6

Search

Find Matches in This Book

Save

Log in to Save Content

Translations

Available Languages

Japan - 日本語

Print

Results

Updated:

August 26, 2024

Chapter: SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Chapter Contents

SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Feature Information for SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Information About SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)
Restrictions for SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Restrictions for SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

BGP Color Extended Community and VRF Prefix Coloring
Supported Platforms
Attaching a Color-Extended Community

Supported Platforms

Attaching a Color-Extended Community

Support for PFP with RIB Path
Example: Configuring PFP with RIB Path

Example: Configuring PFP with RIB Path

Configuring SR-TE Per-Flow Class (ODN) and Automated Steering (PCE Delegated)

Verifying SR-TE Per-Flow Class (ODN) and Automated Steering (PCE Delegated)

Close

SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

This chapter describes how Segment Routing Traffic Engineering (SR-TE) works with the Per-flow policy (PFP) On-Demand Next-hop (ODN) and auto steering (Per flow ODN/AS) mechanism. This chapter contains the following sections:

Feature Information for SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Information About SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

BGP Color Extended Community and VRF Prefix Coloring

Support for PFP with RIB Path

Configuring SR-TE Per-Flow Class (ODN) and Automated Steering (PCE Delegated)

Verifying SR-TE Per-Flow Class (ODN) and Automated Steering (PCE Delegated)

Feature Information for SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Table 1. Feature History

Feature Name

Release

Description

Support for PFP with RIB Path

Cisco IOS XE 17.9.1a

This feature enables you to configure forwarding class in a per- flow policy using the Routing Information Base (RIB) path option. Instead of configuring a per-destination policy, the RIB option uses the IGP shortest path to the policy destination.

Attaching Extended Color Communities to BGP VRF

Cisco IOS XE 17.7.1a

Cisco IOS XE 17.11.1a

This feature introduces new methods of attaching extended color communities to a prefix. A color community is an indicator of the bandwidth or latency level of the traffic being sent to the prefix. The following are the new ways of attaching them to the prefix:

VRF export coloring

VRF import coloring

Route redistribution coloring in BGP

Neighbor inbound coloring

From Cisco IOS XE 17.11.1a, this feature is extended to the following platforms:

Cisco Catalyst 8300 Series Edge Platforms

Cisco Catalyst 8500 Series Edge Platforms

Cisco Catalyst 8000V Edge Software

SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Cisco IOS XE Amsterdam 17.4

This feature lets you steer traffic with SR-TE PFP based on the QoS markings on the packets. The traffic is then switched onto the appropriate path based on the forward classes of the packet.

Information About SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

The Segment Routing-Traffic Engineering (SR-TE) Per-Flow policy (PFP) On-Demand Next-Hop (ODN) with auto-steering (Per-Flow ODN/AS) is a mechanism that allows the steering of traffic on a segment routing policy based on the attributes of the packets. SR-TE PFP ODN with auto steering (Per flow ODN/AS) is a mechanism that allows the steering of traffic on an SR policy based on the attributes of the packets. Packets are classified using Cisco's Modular QoS CLI (MQC) framework and then marked using internal tags known as Forward Classes (FCs). A PFP is then used to route the marked packets based on the mappings between an FC and its corresponding path. This means that the traffic is steered based on its QoS markings and switched to the appropriate path based on the FC of the packet.

A PFP is identified by <color, endpoint>. It is configured with a per-flow forwarding class table with up to eight entries, with each entry indexed by an FC and pointing to a Per Destination Policy (PDP).

Note

The following features are supported:

250 PFP+PDP (Combination)

6 PE and 6 VPE

10k VPNV4 prefix limit

L3VPN Inter AS Option B for SR PFP

IPv6 over PFP

Restrictions for SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Restrictions for SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated)

Dynamic change in the Quality of Service (QoS) policy is not supported.

PIC core over SR-TE tunnel PIC edge is not supported.

VPLS over SR-TE is not supported.

Configure the set forward class to 0 to take the default path for nonforward class.

BGP Labeled Unicast (BGP-LU) (RFC 3107) is not supported for SR ODN PFP Auto Steering.

L2VPN over PFP tunnels is not supported.

Performance measurement over PFP is not supported.

MPLS ping or trace route over PFP is not supported.

Auto route announcement over PFP or PDP is not supported.

PIC is not supported over PFP.

BGP Color Extended Community and VRF Prefix Coloring

In the Segment Routing Traffic Engineering mechanism, the prefix that needs an SR-TE routing path is associated with a color-extended community (an attribute that assigns color to the prefixes). Currently, BGP has the capability to attach the color-extended community based only on the neighbor command routemap outbound configuration. To color the prefixes based on attributes such as Source-VRF, Destination-VRF, CE-neighbor, and Source protocol, the following ways of attaching color are introduced:

VRF Export Coloring

VRF Import Coloring

Route Redistribution Coloring into BGP

Neighbor In-bound Coloring

Additionally, in Cisco IOS XE releases prior to 17.7.1a, any new color-extended community attached to the prefix replaces the existing color-extended community available in the prefix. To be able to add the new color-extended community to the existing list of color-extended communities instead of replacing, the keyword additive is added to the route-map command as part of Cisco IOS XE 17.7.1a:

Note

When a BGP update is received with multiple color-extended communities, the highest color value in the list is used for SR policy creation, and the binding SID corresponding to the SR policy is used as the routing path for the received BGP path. If the SR policy corresponding to the highest color is not available, BGP uses the interface as the routing path for the update.

Supported Platforms

Attaching a Color-Extended Community

Supported Platforms

From Cisco IOS XE 17.7.1a, this feature is supported on:

Cisco ASR 1000 Series platforms

From Cisco IOS XE 17.11.1a, this feature is supported on:

Cisco Catalyst 8300 Series Edge platforms

Cisco Catalyst 8500 Series Edge platforms

Cisco Catalyst 8000V Edge software

Attaching a Color-Extended Community

The following ways of attaching color-extended communities are available:

VRF Export Coloring: The following configuration attaches a color extended community to the VPN prefix as per the export route map color-extended community associated with the VRF. This enables the association of the color-extended community based on the source VRF of the VPN prefix:

VRF Import Coloring: The following configuration attaches a color-extended community to an imported VRF prefix as per the import route map color-extended community associated with the VRF. This enables the attachment of the color-extended community to a prefix based on the VRF the prefix is imported to:

Route Redistribution Coloring into BGP: The following configuration attaches a color-extended community as part of the redistribution routes to BGP. This associates the color-extended community to a prefix based on the source protocol owning the prefix:

Neighbor Inbound Coloring: The following configuration attaches a color-extended community as part of the inbound route map processing attached to the neighbor. This attaches a color-extended community based on the neighbor advertising the prefix:

Support for PFP with RIB Path

PFP consists of a bundle output chain element (OCE), and each hash of the bundle OCE consists of a PDP policy (PDP tunnel). In this scenario, a PDP policy is created for the default IGP or RIB learned path. This means that a separate PDP policy is created for every default IGP or RIB learned path. Therefore, this implementation will eventually increase the number of policies and will not scale.

From Cisco IOS XE 17.9.1a, you can configure forwarding class in a PFP using the RIB path option. Instead of configuring a PDP, the RIB option uses the IGP shortest path to the policy destination.

PFP has a binding SID, similar to the PDP. The traffic-steering mechanism is also the same as PDP, either through BSID or through RIB.

A PFP is in the operational UP state based on the following conditions:

The default FC is configured with a PDP, and it is in the operational UP state.

The default FC is configured with the RIB path and is resolved.

Note

The state of the nondefault FC does not affect the PFP state.

After a packet is steered on the PFP, according to the FC marked by Modular QoS CLI (MQC) at ingress, the following scenarios show the path of the packet:

If PFP is in the Down state, the packet is dropped.

If no FC is attached to a packet, the packet is forwarded with a default FC in PFP.

If an FC is attached to a packet that points to a resolved RIB path or an operational PDP, the packet is forwarded to it.

If an FC attached on a packet points to a nonexisting unresolved RIB path or a nonoperational PDP, the packet is forwarded to the default FC.

Example: Configuring PFP with RIB Path

Example: Configuring PFP with RIB Path

The following example shows how to configure PFP using both the RIB path and color:

The following example shows how to configure the ODN PFP using both the RIB path and color:

Configuring SR-TE Per-Flow Class (ODN) and Automated Steering (PCE Delegated)

Consider the following topology:

Perform the following steps to configure ODN for PFP:

Configure QOS on PE1:

Set the forward class on the class map:

Attach the policy map on the corresponding interface:

Configure SR-TE PFP on PE1:

Set the forward class on PFP:

Attach the segment list to PDP:

Set the segment list to SR-TE:

Configure SR-TE PFP on PE2:

Attach the route map to PFP:

Activate the BGP routes:

View the PFP output:

Verifying SR-TE Per-Flow Class (ODN) and Automated Steering (PCE Delegated)

Use the following command to verify SR-TE Per-Flow Class (ODN) and Automated Steering (PCE Delegated):

Back to Top Back to Top

Was this Document Helpful?

Yes No

[ Feedback](javascript: void(0);)

Customers Also Viewed

Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide, Cisco IOS XE 17 --- Installing the Software using install Commands

Security and VPN Configuration Guide, Cisco IOS XE 17.x --- Configuring Security for VPNs with IPsec

Configure Smart Licensing Using Policy on IOS XE Routers

Choose Stable Cisco IOS® XE Release for Enterprise Routing Platforms

Show 1 More

Contact Cisco

Open a Support Case

(Requires a Cisco Service Contract)

Quick Links

About Cisco

Contact Us

Careers

Connect with a partner

Resources and Legal

Feedback

Help

Terms & Conditions

Privacy

Cookies / Do not sell or share my personal data

Accessibility

Trademarks

Supply Chain Transparency

Newsroom

Sitemap

© 2026 Cisco Systems, Inc.

By continuing to use our website, you acknowledge the use of cookies.

Privacy Statement Change Settings

Consent Manager

Your opt out preference signal is honored.

Consent Manager

Your Privacy

Your Privacy

When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. From the list on left, please choose whether this site may use Performance and/or Targeting Cookies. By selecting Strictly Necessary Cookies only, you are requesting Cisco not to sell or share your personal data. Note, blocking some types of cookies may impact your experience on the site and the services we are able to offer.

Strictly Necessary Cookies

Strictly Necessary Cookies

Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. Cookies Details

Performance Cookies

Performance Cookies

[x] Performance Cookies These cookies provide metrics related to the performance and usability of our site. They are primarily focused on gathering information about how you interact with our site, including: page load times, response times, error messages, and allowing a replay of a visitor's interactions with our site, which enables us to review and analyze visitor behavior, helping to improve site usability and functionality. These cookies also allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site and will not be able to monitor its performance. Cookies Details

Targeting Cookies

Targeting Cookies

[x] Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Cookies Details

Functional Cookies

Functional Cookies

[x] Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. Cookies Details

Cookie List

Consent Leg.Interest [-]

checkbox label label [-]

checkbox label label [-]

checkbox label label

Clear

[-] checkbox label label

Apply Cancel

Save Settings

Allow All